﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="資料访问填充对象.aspx.cs" Inherits="資料访问填充对象" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
            <%#DataBinder.Eval(Container.DataItem,"title") %><br/>
        </ItemTemplate>
        </asp:Repeater>
        <br />
        <br />
        <asp:DataGrid runat="server" ID="gridx" AutoGenerateColumns="False" ShowHeader="False">
            <Columns>
                <asp:TemplateColumn>
                    <EditItemTemplate>
                        <asp:TextBox  ID =xx runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.title") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label  ID=aa runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.title") %>' Height="19px" Width="102px"></asp:Label><br />
                        <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Updatetime") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateColumn>
            </Columns>
        
        </asp:DataGrid>
    </div>
    </form>
</body>
</html>
